/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.edu.upc.sad.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import pe.edu.upc.sad.model.Empresa;
/**
 *
 * @author aalanya
 */
public interface EmpresaDao {

    public Empresa get(String ruc, String clave) throws Exception;

    public int insert (Empresa company) throws SQLException;

    public List<Empresa> getListcompany(Connection conn) throws Exception;
}
